package com.project.weather.service;

import java.util.List;
import com.project.weather.common.PageBean;
import com.project.weather.common.AResultCode;
import com.project.weather.common.ResultMap;
import com.project.weather.pojo.UserRoleBean;

/**
 *<p>Title:UserRoleService.java</p>
 *<p>Description:用户角色关联表Service</p>
 *@author xxx
 *@version 1.0
 *@Automatically generate by Coder in 2021-12-21 16:02
 */
public interface UserRoleService{
    /**
	*<b>Summary: 保存数据</b>
	* insert
	* @param bean
	* @return
	*/
	public ResultMap<AResultCode, UserRoleBean> insert(UserRoleBean bean);

	/**
    *<b>Summary: 更新数据</b>
    * update
    * @param bean
	* @return
    */
	public ResultMap<AResultCode, UserRoleBean> update(UserRoleBean bean);

	/**
    *<b>Summary: 删除数据</b>
    * delete
    * @param id
	* @return
    */
	public ResultMap<AResultCode, UserRoleBean> delete(String id);

	/**
    *<b>Summary: 分页查询列表数据</b>
    * pageList
    * @param pb
	* @return
    */
	public ResultMap<AResultCode, PageBean<UserRoleBean>> pageList(PageBean<UserRoleBean> pb);

	/**
    *<b>Summary: 查询列表数据</b>
    * list
    * @param bean
	* @return
    */
	public ResultMap<AResultCode, List<UserRoleBean>> list(UserRoleBean bean);

	/**
    *<b>Summary: 根据Id查询数据</b>
    * get
    * @param id
	* @return
    */
	public ResultMap<AResultCode, UserRoleBean> get(String id);

}